#ifndef __KCP_SERVER_CONTEXT_H__
#define __KCP_SERVER_CONTEXT_H__

#include "ikcp.h"

#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>

namespace Gazella {
struct KcpServerContext {
    ikcpcb *kcp;

    int sd;
    struct sockaddr_in caddr;
    socklen_t caddr_len;

    std::string client_ip;
    int client_port;

    uint32_t timeout;
};
}

#endif